package com.linln.modules.system.dao;

import com.github.pagehelper.Page;
import com.linln.modules.system.entity.BeautyCompany;
import com.linln.modules.system.entity.WxUser;
import com.linln.modules.system.entity.WxUserExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface WxUserMapper {
    int countByExample(WxUserExample example);

    int deleteByExample(WxUserExample example);

    int deleteByPrimaryKey(String id);

    int insert(WxUser record);

    int insertSelective(WxUser record);

    List<WxUser> selectByExample(WxUserExample example);

    WxUser selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") WxUser record, @Param("example") WxUserExample example);

    int updateByExample(@Param("record") WxUser record, @Param("example") WxUserExample example);

    int updateByPrimaryKeySelective(WxUser record);

    int updateByPrimaryKey(WxUser record);

    List<WxUser> selectByOpenId(@Param("openId") String openId, @Param("deleted") int deleted);

    Page<WxUser> getAllWxUserPager(@Param("nickName")String nickName);
}